package com.zzld.modules.autoinn.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.zzld.core.service.IBaseService;
import com.zzld.modules.autoinn.entity.Customer;
import com.zzld.modules.common.dto.TreeGrid;


public interface ICustomerService extends IBaseService<Customer>  {

	

	
	public PageInfo selectpage(Map map,int pageNum,int pageSize);

	public Customer findCustomer(String wxaccount,String openid) throws Exception;
	
	public Customer findCustomerByPhone(String wxaccount,String phone) throws Exception;
	
	public List<Customer> selall();
	
	public Customer selectbysurplus(String id);
	
   public Integer updatesurplus(Map<String,Object> map);
   
   public List<TreeGrid> selcustomer();
	
}
